forcerecover

SoftwareShield ClientProtector COM Component > ClientProtector (SSCProtector) Reference > ForceRecover

## ForceRecover

The ForceRecover function immediately causes the ClientProtector to perform the recovery operation on the currently loaded license. No events are fired and the operation always succeeds - even if there is no License Recovery Authorization Definition in the license.

###### Syntax

HRESULT ForceRecover ();

###### Parameters

none

###### Remarks

This is not the preferred way to perform the recovery operation. See License Recovery for more details.

Although in some circumstances where you wish to have a license "self-heal" but have chosen not to use the Auto-Recover feature, ForceRecover may be helpful.

When executed, the ForceRecover function immediately causes the ClientProtector to perform the recovery operation on the currently loaded license. No events are fired and the operation always succeeds - even if there is no License Recovery Authorization Definition in the license. The details of a recovery operation is explained further in the section on License Recovery.

###### Return Value

As with all COM function calls they return an HRESULT. HRESULT is a data type that is a 32-bit error or warning code. Check your compilers documentation for information on interpreting the HRESULT value.

###### Function Information

Exposed By Interface: | "ISSCProtector"
Exposed In COM Server Binaries: | "SSCProt.dll" and "SSCProtD.dll"